package com.itheima.reggie.service;

import com.itheima.reggie.common.Page;
import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishDto;

import java.util.List;

public interface DishService {

    void save(DishDto dishDto);

    Page<DishDto> findAllDish(Integer page, Integer pageSize, String name);

    DishDto findById(Long id);

    void update(DishDto dishDto);

    List<DishDto> findByCategoryId(Long categoryId);

    void status( Dish dish );
}
